//
//  UseTable.swift
//  learn-ios
//
//  Created by Dong on 2022/4/5.
//

import SwiftUI

struct Student:Identifiable {
    let id = UUID()
    let name: String
    let age: Int?
    let phone: Int?
    let address: String?
}

struct UseTable: View {
    private var students: [Student] = [
        Student(name: "Dong1",age: 18,phone: 1100),
        Student(name: "Dong2",age: 100,phone: 1101),
        Student(name: "Dong3",age: 200,phone: 1102),
        Student(name: "Dong4",age: 300,phone: 1103),
        
    ]
    
    var body: some View {
        VStack{
            }
        }
    }
}

struct UseTable_Previews: PreviewProvider {
    static var previews: some View {
        UseTable()
    }
}
